package com.ecoolex.ying.space.core.mapper;

import com.ecoolex.framework.common.annotation.Description;
import com.ecoolex.ying.space.entity.EstateProjectActivityCouponOrder;
import com.ecoolex.ying.space.entity.EstateProjectActivityCouponOrderExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.lang.NonNull;

public interface EstateProjectActivityCouponOrderMapper {
    long countByExample(EstateProjectActivityCouponOrderExample example);

    int deleteByExample(EstateProjectActivityCouponOrderExample example);

    int deleteByPrimaryKey(Integer orderId);

    int insert(EstateProjectActivityCouponOrder record);

    int insertSelective(@Param("record") EstateProjectActivityCouponOrder record, @Param("selective") EstateProjectActivityCouponOrder.Column ... selective);

    EstateProjectActivityCouponOrder selectOneByExample(EstateProjectActivityCouponOrderExample example);

    List<EstateProjectActivityCouponOrder> selectByExample(EstateProjectActivityCouponOrderExample example);

    EstateProjectActivityCouponOrder selectByPrimaryKey(Integer orderId);

    EstateProjectActivityCouponOrder selectByPrimaryKeyWithLogicalDelete(@Param("orderId") Integer orderId, @Param("andLogicalDeleted") boolean andLogicalDeleted);

    int updateByExampleSelective(@Param("record") EstateProjectActivityCouponOrder record, @Param("example") EstateProjectActivityCouponOrderExample example, @Param("selective") EstateProjectActivityCouponOrder.Column ... selective);

    int updateByExample(@Param("record") EstateProjectActivityCouponOrder record, @Param("example") EstateProjectActivityCouponOrderExample example);

    int updateByPrimaryKeySelective(@Param("record") EstateProjectActivityCouponOrder record, @Param("selective") EstateProjectActivityCouponOrder.Column ... selective);

    int updateByPrimaryKey(EstateProjectActivityCouponOrder record);

    int batchInsert(@Param("list") List<EstateProjectActivityCouponOrder> list);

    int batchInsertSelective(@Param("list") List<EstateProjectActivityCouponOrder> list, @Param("selective") EstateProjectActivityCouponOrder.Column ... selective);

    int logicalDeleteByExample(@Param("example") EstateProjectActivityCouponOrderExample example);

    int logicalDeleteByPrimaryKey(Integer orderId);
}